<?php
	echo "<h3>2008年6月 技术电子书列表</h3>";

	if(is_array($ebooks) && count($ebooks)>0):
	$i = 1;
	foreach($ebooks	as $ebook):
$html[] = <<<END
	<span style="float:left;border-width:1px 2px 2px 1px;font-weight:bold;font-size:16px;font-family:Serif Arial;border-color:#cef4ef;border-style:solid;padding:4px;">{$i}</span><p style="margin-left:30px;border-left:4px solid #c00;padding:8px 0 8px 4px;"><span style="border-bottom:1px dashed #ccc;">{$ebook["ebook_name"]}</span></p>
END;
	$i++;
	endforeach;
	echo implode("",$html);
	else:
	echo "该目录下暂无资料";
	endif;
?>